eFAWATEERcom BANK API icon

eFAWATEERcom BANK API

(0 reviews)

Teller Prepaid Payment

URLs :

Description : This service allows to initiate a teller Prepaid payment before payment to eFAWATEERcom through Bank Account.

The Bill Payment service for prepaid through account permits Bank and channels to create new teller prepaid payment record in eFAWATEERcom. The service is intended to involve a set of validations on the received payment, if the validation process is successful,eFAWATEERcom will generate a payment transaction number ‘JOEBPPSTrx’ and return it in the response message to the Bank/PSP. Bank/PSP should get the latest bill details first by sending bill inquiry request.

Mulesoft Request:

Mandatory Headers: x-channel-id,x-client-trace-id, x-bank-id,client_id,Authorization

Optional Headers: x-sub-channel-id, x-user-id, client_secret, x-debug-flag, x-customer-id

Request Body: application/json

Field NameTypeLengthOccurrenceDescription
initiationObjectM
customerIdStringO
debitAmountObjectO
amountStringO
currencyStringO
End of debitAmount
creditAmountObjectM
amountStringM
currencyStringMRepresents the type of the used currency in payment process
End of creditAmount
chargesArrayO
chargeTypeStringO
chargeAmountObjectO
amountStringO
currencyStringORepresents the type of the used currency in payment process
End of chargeAmount
End of charges
End of initiation
transactionDataObjectM
waveChargeStringM
tellerNameStringM
paymentDetailsStringO
channelReferencestringO
End of transactionData
billInformationObjectM
serviceTypeStringMRepresents the service type of the biller
prepaidCatStringM
validationCodeStringM
dueAmountStringM
paymentMethodStringM
accessChannelStringMRepresents the payment channel type that used to collect payments
billerCodeStringMRepresents the unique code of the Biller Field returned from bill inquiry
billerNumberStringM
billerCategoryStringM
billerNameStringM
End of billInformation
accountInformationObjectM
billingNumberStringMRepresents the unique identifier of subscription in a specific service provided by the biller. Field returned from bill inquiry
billNumberStringMbill no, Field returned from bill inquiry
End of accountInformation
payerInformationObjectM
idTypeStringORepresents a unique identifier type (The official number used to identify a customer)
idStringOThe identification of the customer based on the chosen value from the IdType field
nationStringOEnum: JO - Jordanian IQ - Iraq GB - British KW - Kuwait
nameStringO
phoneStringO
addressStringO
emailStringO
joebppsNoStringORepresents the unique identifier of the customer profile in eFAWATEERcom
End of 'payerInformation' container
End of billInformation
{
    "initiation": {
      "customerId": "2000565",
      "debitAmount": {
        "amount": "",
        "currency": ""
      },
      "creditAmount": {
        "amount": "5",
        "currency": "JOD"
      },
      "charges": [
        {
          "chargeType": "ECOM",
          "chargeAmount": {
            "amount": "5",
            "currency": "JOD"
          }
        }
      ]
    },
    "transactionData": {
      "waveCharge": "Y",
      "tellerName": "hjcbxc",
      "paymentDetails": "mmmmm",
      "channelReference": "madfooat"
    },
    "billInformation": {
      "serviceType": "LeasedLine",
      "prepaidCat":"payment",
      "validationCode":"1234",
      "dueAmount":"10",
      "paymentMethod":"ACTDEB",
      "accessChannel": "INTERNET",
      "billerCode": "1411",
      "billerNumber": "343334",
      "billerCategory": "tesss",
      "billerName": "test",
      "accountInformation": {
        "billingNumber": "22552",
        "billNumber": "22552"
      },
      "payerInformation": {
        "idType": "",
          "id": "",
          "nation": "",
          "name": "",
          "phone": "",
          "address": "",
          "email":"",
        "joebppsNo": "1733925"
      }
    }
  }

Mulesoft Response:

Success Response: (200)

Response Body: application/json

Field NameTypeLengthOccurrenceDescriptionValidations
statusObjectM
successBooleanMtrue false
codeString10MError Code“0” incase of success or Error Code
reasonCodeString50OError Type or Error categoryAdd this tag only incase of error
arabicMessageString200MEnglish message translated to Arabicتمت العملية بنجاح in case of success or arabic translated error in case of known errors
englishMessageString200MDescription about the processing“The Operation has been Successfully Completed” Or error Description
End of status
responseObjectOExists if success = true
transactionReferenceStringMtransaction Id when the fund transaction will get created successfully
joebppsTrxStringMjoebppsTrx when the fund transaction will get created successfully
{
  "status": {
    "success": true,
    "code": "200",
    "reasonCode": "reason code",
    "arabicMessage": "تمت العملية بنجاح",
    "englishMessage": "The Operation has been Successfully Completed"
  },
  "response": {
    "transactionReference": "FT03043523",
    "joebppsTrx": "FT03043523"
  }
}

Sample Error Response:

Error codes :

400:

content-type: JSON

{
   "success": false,
   "code": "400",
   "reasonCode": "Bad Request",
   "arabicMessage": "اقتراح غير جي",
   "englishMessage": "paymentMethod is invalid"
}

Reviews